package my.Interceptor.log;

import org.springframework.stereotype.Component;

@Component
@Log
public class Work {
	public String doWorkA(){
		System.out.println("开始工作A");
		return "工作A";
	}
	public String doWorkB(){
		System.out.println("开始工作B");
		return "工作B";
	}
	public Person doWorkC(){
		Person person = new Person();
		person.setName("张三");
		person.setWork("打铁");
		return person;
	}
}
